<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    [v-cloak] {
      display: none;
    }

  </style>
</head>

<body>
  <div id="app">
    <div v-cloak>{{msg}}</div>
  </div>
  <script src="../js/vue.js"></script>
  <script>
    /*
      v-cloak
        解决前端页面闪动的问题
    */
    const vm = new Vue({
      el: "#app",
      data: {
        msg: "这是谁的"
      }
    });

  </script>
</body>

</html>
